package com.aaa.book_mall.dao;

import com.aaa.book_mall.entity.Request;
import com.aaa.book_mall.entity.Shop;
import com.aaa.book_mall.entity.Staff;

import java.util.List;
import java.util.Map;

/**
 * fileName:ShopDao
 * description:
 * author:付亚星
 * createTime:2021/2/21 9:26
 * version:1.0.0
 */
public interface ShopDao {
    /**
     * 查询所有购物车数据
     */
    //List<Map<String, Object>> showAllShop(Shop shop);
    List<Shop> showAllShop(Integer uid);


    /**
     * 查询分页
     */
    int getShopCount(Shop shop);

    /**
     * 新增
     */
    int insertShop(Shop shop);



}
